package net.minecraft.src;

public class mod_grinder extends BaseMod
{

	public mod_grinder()
	{
		RegisterGrinder();
	}

	public static final Block blockGrinder;

	private void RegisterGrinder()
	{
		ModLoader.RegisterBlock(blockGrinder);
		blockGrinder.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/pph/grinder_s.png");
		((BlockGrinder) blockGrinder).blockIndexInTextureFront = ModLoader.addOverride("/terrain.png", "/pph/grinder_f.png");
		ModLoader.AddName(blockGrinder, "Grinder");
		ModLoader.AddRecipe(new ItemStack(blockGrinder, 1),
				new Object[] { "ccc", "s s", "csc",
			Character.valueOf('c'), Block.cobblestone,
			Character.valueOf('s'), Block.stone }
		);
		ModLoader.RegisterTileEntity(TileEntityGrinder.class, "GrinderTile");
	}

	static
	{
		blockGrinder = new BlockGrinder(200, 0).setHardness(2.0F).setResistance(5.0F).setBlockName("Grinder");
	}

	@Override
	public String getVersion()
	{
		return "PPH - Beta 1 - Extra";
	}

	@Override
	public void load()
	{
		// TODO Auto-generated method stub

	}

}
